#main {
    border:1px solid #666;
    clear:both;
    background:#FFF3B3;
    padding-top:1.2em;
}

#contents {
    background:#FFFDF3;
    min-height:200px;
    padding:1.5em;
}
#contents form ul li{
    list-style-type: none;
    text-align: center;
}
#header {
    position:relative;
    height:3.2em;
    width: 90em;
}

#header ul#primary {
    position:absolute;
    bottom:-1px;
    width:80em;
    margin:0;
    padding:0;
}

#header ul#primary li {
    display:inline;
    list-style:none;
}

#header ul#primary a,#header ul#primary span,#header ul#primary a.current {
    width:14em;
    display:block;
    float:left;
    text-align:center;
    font-family:tahoma, verdana, sans-serif;
    font-size:85%;
    text-decoration:none;
    color:#333;
    margin:1px 2px 0 0;
    padding:4px 0;
}

#header ul#primary span,#header ul#primary a.current,#header ul#primary a.current:hover {
    border:1px solid #666;
    border-bottom:none;
    background:#FFF3B3;
    padding-bottom: 0px;
    margin-top:0;
}

#header ul#primary a {
    background:#FFFAE1;
    border:1px solid #AAA;
    border-bottom:none;
}

#header ul#primary a:hover {
    margin-top:0;
    background:#FFF3B3;
    padding-bottom: 5px;
    border-color:#666;
}

#header ul#secondary {
    position:absolute;
    bottom:-1.0em;
    left:1px;
    width: 50em;
    margin:0;
    padding:0;
}

#header ul#secondary li a,#header ul#secondary li span {
    width:auto;
    display:block;
    float:left;
    text-align:center;
    border:none;
    border-right:1px dotted #AAA;
    background:none;
    margin:0;
    padding:0 10px;
}

#header ul#secondary li a {
    color:#06C;
    text-decoration:underline;
}

#header ul#secondary li a:hover {
    color:#333;
    background:transparent;
    border:none;
    border-right:1px dotted #AAA;
    padding:0 2px;
}

#header ul#secondary li a:active {
    color:#000;
    background:transparent;
}

#header ul#secondary li:last-child a {
    border:none;
}

#header #primary a.this{
    background-color: #FFF3B3;
}